package com.mostromas.ess.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 报损单明细表
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "StockLossDetailed对象",description = "报损单明细表")
@TableName("mr_stock_loss_detailed")
@Data
public class StockLossDetailed extends ProductBasics implements Serializable {
    private static final long serialVersionUID = 8344632211571179524L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "所属报损单ID")
    private String lossId;
    @ApiModelProperty(value = "分类ID")
    private String categoryId;
    @ApiModelProperty(value = "款式ID")
    private String productId;
    @ApiModelProperty(value = "颜色ID")
    private String colorId;
    @ApiModelProperty(value = "尺码ID")
    private String sizeId;
    @ApiModelProperty(value = "数量")
    private Integer number;

}
